from rest_framework import serializers
from users.models import User
import re


class AdminSerializer(serializers.ModelSerializer):
    class Meta:
        # 指定模型类
        model = User
        # 指定字段
        fields = '__all__'

